<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/exam/setexamtest" aria-expanded="">测试管理 </a></li>
                        <li class="active"><a href="/app/core/exam/setexamtest?view=create" aria-expanded="true">创建测试</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding-top: 0px;">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                <form class="form-horizontal">
                                    <table class="table table-hover table-striped table-bordered">
                                        <tr>
                                            <td width="20%">${i18n('system.sortNo')}：</td>
                                            <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo" id="sortNo" maxlength="50" value="" class="form-control"></td>
                                            <td width="20%">测试名称：</td>
                                            <td width="30%"><input placeholder="测试名称" type="text" name="title" id="title" class="form-control" maxlength="150"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">主考部门：</td>
                                            <td width="30%">
                                                <input placeholder="主考部门" type="text" name="deptId" id="deptId" maxlength="50" value="" class="form-control" opt-id="deptId" onclick="selectDept(this,'true');" readonly="readonly">
                                            </td>
                                            <td width="20%">试卷分类：</td>
                                            <td width="30%">
                                                <input placeholder="试卷分类" type="text" name="sortId" id="sortId" class="form-control" maxlength="150" readonly="readonly">
                                                <div id="menuContent" class="menuContent">
                                                    <ul id="menuTree" class="ztree"></ul>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">选择试卷：</td>
                                            <td width="30%">
                                                <select id="questionRecordId" name="questionRecordId" class="form-control"></select>
                                            </td>
                                            <td width="20%">是否开否：</td>
                                            <td width="30%">
                                                <div class="checkbox">
                                                    <label>
                                                        <input type="checkbox" class="colored-success" id="isOpen" name="isOpen" value="1">
                                                        <span class="text">开卷</span>
                                                    </label>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">考生范围(人员)</td>
                                            <td width="30%" colspan="2"><textarea id="userPriv" name="userPriv" placeholder="人员" rows="5" class="form-control" readonly="readonly"></textarea></td>
                                            <td width="20%"><a style="cursor: pointer;" opt-id="userPriv" onclick="selectUser(this,'true');">${i18n('system.select')}</a>
                                                <a style="cursor: pointer;" onclick="clearSelect('userPriv')">${i18n('system.clear')}</a></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">考生范围(部门)</td>
                                            <td width="30%" colspan="2"><textarea id="deptPriv" name="deptPriv" placeholder="部门" rows="5" class="form-control" readonly="readonly"></textarea></td>
                                            <td width="20%"><a style="cursor: pointer;" opt-id="deptPriv" onclick="selectDept(this,'true');">${i18n('system.select')}</a>
                                                <a style="cursor: pointer;" onclick="clearSelect('deptPriv')">${i18n('system.clear')}</a></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">考生范围(职务)</td>
                                            <td width="30%" colspan="2"><textarea id="levelPriv" name="levelPriv" placeholder="职务" rows="5" class="form-control" readonly="readonly"></textarea></td>
                                            <td width="20%"><a style="cursor: pointer;" opt-id="levelPriv" onclick="selectUserLevel(this,'true');">${i18n('system.select')}</a>
                                                <a style="cursor: pointer;" onclick="clearSelect('levelPriv')">${i18n('system.clear')}</a></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">${i18n('system.beginTime')}：</td>
                                            <td width="30%"><input placeholder="${i18n('system.beginTime')}" type="text" name="beginTime" id="beginTime" value="" class="form-control" readonly="readonly"></td>
                                            <td width="20%">${i18n('system.endTime')}：</td>
                                            <td width="30%"><input placeholder="${i18n('system.endTime')}" type="text" name="endTime" id="endTime" class="form-control" readonly="readonly"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">考试时长：</td>
                                            <td width="30%"><input placeholder="考试时长" type="number" name="duration" id="duration" value="" class="form-control" maxlength="5"></td>
                                            <td width="20%">合格分数：</td>
                                            <td width="30%"><input placeholder="合格分数" type="number" name="passMark" id="passMark" class="form-control" maxlength="5"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">参考资料：</td>
                                            <td width="30%" colspan="3">
                                                <div id="show_attach"></div>
                                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')}
                                                    <input data_value="" type="file" onchange="fileUpLoad('exam','attach');" hidefocus="true" size="1" id="attach" name="attach"
                                                           class="addfile" multiple="multiple"></a>
                                                <a class="addfile" style="width: 200px;" href="#" op_id="attach" onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                            </td>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">备注</td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">
                                                <div id="remark" name="remark" style="height: 300px"></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" align="center"><a href="javascript:void(0);" class="btn btn-primary js-add-save">${i18n('system.create')}</a></td>
                                        </tr>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/module/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/exam/setexamtest.js"></script>
</body>
</html>
